package com.test.pass.base;

import com.test.pass.base.dto.Role;
import org.springframework.stereotype.Component;

@Component
public class Clazz {

    private String name;
    private String simpleName;

    public static void main(String[] args) {
        System.out.println("Name…… " + Role.class.getName());//com.test.pass.base.dto.Role
        System.out.println("SimpleName…… " + Role.class.getSimpleName());//Role

        System.out.println("==========");
        ServiceImpl service = (ServiceImpl)ApplicationContextUtil.getBean(ServiceImpl.class);
        service.test();
    }
}
